export enum E_JOB_STATUS {
  SUCCESS = 1,
  FAILED,
  RUNNING,
}
export const jobStatusOptions = [
  { label: '成功', value: E_JOB_STATUS.SUCCESS },
  { label: '失败', value: E_JOB_STATUS.FAILED },
  { label: '运行中', value: E_JOB_STATUS.RUNNING },
]

export enum E_JOB_PRODUCT {
  VPS = 1,
  VPS_PACKAGE,
  BARE_METAL,
  BARE_METAL_PACKAGE,
  DISK,
  FLOAT_IP,
  PUBLIC_IP,
  SNAPSHOT,
}
export const jobProductOptions = [
  { label: '云服务器', value: E_JOB_PRODUCT.VPS },
  // { label: '云服务器套餐', value: E_JOB_PRODUCT.VPS_PACKAGE },
  { label: '裸金属', value: E_JOB_PRODUCT.BARE_METAL },
  // { label: '裸金属套餐', value: E_JOB_PRODUCT.BARE_METAL_PACKAGE },
  { label: '云硬盘', value: E_JOB_PRODUCT.DISK },
  // { label: '浮动IP', value: E_JOB_PRODUCT.FLOAT_IP },
  { label: '公网IP', value: E_JOB_PRODUCT.PUBLIC_IP },
  { label: '快照', value: E_JOB_PRODUCT.SNAPSHOT },
]

export enum E_JOB_TYPE {
  CREATE_VPS = 1,
  CREATE_BARE_METAL,
  CREATE_DISK,
  CREATE_IP,
  CREATE_SNAPSHOT,
  RENEW_VPS,
  RENEW_BARE_METAL,
  RENEW_DISK,
  RENEW_IP,
  CHANGE_IP,
  UPDATE_BANDWIDTH,
  UPGRADE_BANDWIDTH_TYPE,
}
export const jobTypeOptions = [
  { label: '创建云服务器', value: E_JOB_TYPE.CREATE_VPS },
  { label: '创建裸金属', value: E_JOB_TYPE.CREATE_BARE_METAL },
  { label: '创建云硬盘', value: E_JOB_TYPE.CREATE_DISK },
  { label: '创建IP', value: E_JOB_TYPE.CREATE_IP },
  { label: '创建快照', value: E_JOB_TYPE.CREATE_SNAPSHOT },
  // { label: '续费云服务器', value: E_JOB_TYPE.RENEW_VPS },
  // { label: '续费裸金属', value: E_JOB_TYPE.RENEW_BARE_METAL },
  // { label: '续费云硬盘', value: E_JOB_TYPE.RENEW_DISK },
  // { label: '续费IP', value: E_JOB_TYPE.RENEW_IP },
  { label: '更换IP', value: E_JOB_TYPE.CHANGE_IP },
  { label: '修改带宽', value: E_JOB_TYPE.UPDATE_BANDWIDTH },
  // { label: '升级带宽类型', value: E_JOB_TYPE.UPGRADE_BANDWIDTH_TYPE },
]
